package com.qk.management.controller;

import com.qk.common.Result;
import com.qk.management.service.HomeOverviewService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 上官徵羽
 * @version 1.0
 * @since 2025-10-17 12:16
 */
@Slf4j
@RestController
@RequestMapping("/report/overview")
public class HomeOverviewController {
    @Autowired
    private HomeOverviewService homeOverviewService;
    @GetMapping
    public Result list(){
        return Result.success(homeOverviewService.getList());
    }
}
